package Code.Objects.Effects.Projectiles.Player.Short;

import org.jrabbit.base.graphics.transforms.Vector2d;
import org.jrabbit.base.managers.ResourceManager;

import Code.Objects.Effects.Projectiles.StandardBullet;

public class ShotgunBullet extends StandardBullet
{
	public ShotgunBullet(Vector2d loc, double angle, float barrelLength)
	{
		super("Resources/Images/Projectiles/Bullets/Bullet 1.png", 200 + 
				ResourceManager.random().nextFloat() * 400, angle, 1500 + 
				ResourceManager.random().nextFloat() * 1000, 1, 7, loc, 
				barrelLength, 42);		
		color.set(0, 0, 0, 0.3f);
		targetsAllowed[1] = false;
	}
	
	protected void applySizing()
	{
		scalar.set(6, 2);
	}
}